
export default {

//设置本地存储
 set(name,value){
    return localStorage.setItem(name,value)
},
//获取本地存储
get(name){
    return localStorage.getItem(name)
},
//删除单个数据
 remove(name){
    return localStorage.removeItem(name)
},
 clear(){
    return localStorage.clear()
}
//暴露出去
}
